package com.sim.stream.util;

import org.apache.commons.lang3.StringUtils;

public class PropUtil {
    /**
     * 获取推流的host
     * @return
     */
    public static String[] getPushHosts(){
        String pushHosts = com.sim.core.utils.PropUtil.get("stream.push.host");
        if(StringUtils.isNotBlank(pushHosts)){
            return pushHosts.split(";");
        }
        return null;
    }
}
